class BtnFunction():
    def initBtnFunction(self):
        pass

    def btnLogin(self):
        userid = self.userIdInput.text()
        passwd = self.userPswInput.text()
        try:
            self.uiLoginNet(userid, passwd)
        except ZeroDivisionError as e:
            self.terminal.append(str(e))

    def btnDis(self):
        try:
            self.uiDisNet(self.userIdInput.text())
        except ZeroDivisionError as e:
            self.terminal.append(str(e))
